FapiMember\Repository\MembershipRepository S

Total Complexity 28
Dependencies 7
Dependents 4
Total lines 162
Lines of code 105
Logical lines of code 53
Comment lines 7
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
getActiveByUserId()
S
56 6 18
metaToMemberships()
S
55 4 20
getAllLevelMembershipsByUserIdAndSectionId()
S
60 4 13
getAllByLevelId()
S
62 4 12
getOneByUserIdAndLevelId()
S
65 3 9
getAll()
S
69 2 7
saveAll()
S
68 2 7
__construct()
S
73 1 5
getAllByUserId()
S
75 1 4
update()
S
64 1 10